package com.gistone.commis.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class OfficeSuppliesChange {
    private Integer changeId;

    private Integer suppliesId;

    private Integer currentState;

    private Integer currentAuditorId;

    private User currentUser;
    private Integer lastAuditorId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date lastDatetime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date currentDatetime;

    private Integer submitNumber;

    private Boolean isValid;

    private String suggest;

    private Double amount;

    private String field2;

    public OfficeSuppliesChange(Integer changeId, Integer suppliesId, Integer currentState, Integer currentAuditorId, Integer lastAuditorId, Date lastDatetime, Date currentDatetime, Integer submitNumber, Boolean isValid, String suggest, Double amount, String field2) {
        this.changeId = changeId;
        this.suppliesId = suppliesId;
        this.currentState = currentState;
        this.currentAuditorId = currentAuditorId;
        this.lastAuditorId = lastAuditorId;
        this.lastDatetime = lastDatetime;
        this.currentDatetime = currentDatetime;
        this.submitNumber = submitNumber;
        this.isValid = isValid;
        this.suggest = suggest;
        this.amount = amount;
        this.field2 = field2;
    }
}